import { requestPort } from '@/utils/request.js';

export default {
  //订单详情
  orderDetail: function (params) {
    return requestPort({
      url: '/api/service/getuserorderdetail',
      method: 'POST',
      params: params
    });
  },

  //支付商品价格
  payShop: function (params) {
    return requestPort({
      url: '/api/service/getUserOrderPayData',
      method: 'POST',
      params: params
    });
  },
  //获取优惠券列表
  getCouponList: function (params) {
    return requestPort({
      url: '/api/service/service_voucher_list',
      method: 'POST',
      params: params
    });
  },

}